.avatar{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 12px;
    cursor: pointer;

    .avatar-image{
        background-color: var(--gray-2);
    }
}
.login-button {
    border-radius: 20px !important;
    font-weight: bold !important;
    height: 38px;
    box-shadow: none!important;
    transition: none!important;
}

.popover-container{
    box-sizing: border-box;
    width: 180px;

    :global .ant-popover-inner{
        padding: 0;
    }

    .popover-body{
        position: relative;
        background-color: var(--white);
        border-radius: 6px;

        .user-info{
            position: relative;
            padding: 18px 12px 12px;
            display: flex;
            align-items: center;

            .user-avatar{
                position: relative;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                flex-shrink: 0;
                overflow: hidden;
                margin-right: 8px;

                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    vertical-align: middle;
                }
            }

            .name{
                position: relative;
                line-height: 1em;
                flex-grow: 1;
                overflow: hidden;

                .n1{
                    font-weight: 600;
                    margin-bottom: 4px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
                .n2{
                    position: relative;
                    font-size: 12px;
                    color: var(--gray-6);
                }
            }
        }

        .card{
            position: relative;
            padding: 12px;
            border-top: 1px dashed var(--gray-2);

            .card-container{
                position: relative;
                background-color: var(--main-2);
                color: var(--gray-9);
                padding: 12px;
                border-radius: 6px;
                font-size: 12px;
                text-align: center;

                button{
                    position: relative;
                    font-size: 12px;
                    margin-top: 12px;
                }
            }
        }

        .menu{
            position: relative;
            border-top: 1px dashed var(--gray-2);
            padding: 12px;

            .menu-item{
                position: relative;
                padding: 6px 12px;
                border-radius: 6px;
                display: flex;
                align-items: center;
                color: var(--gray-8);
                cursor: pointer;

                &>span{
                    margin-right: 12px;
                }

                i{
                    display: inline-block;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background-color: var(--error);
                    margin-left: 4px;
                }

                &:hover{
                    background-color: var(--gray-1);
                    color: var(--gray-X);
                }
            }
        }
    }
}
